<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Categories extends Model
{
    // 关联Blogs表
    public function blogs()
    {
        return $this->hasMany(Blogs::class);
    }
}
